package com.ceshiren.springstudy.service.impl;

import com.ceshiren.springstudy.dto.UserDto;
import com.ceshiren.springstudy.service.ResultService;
import org.springframework.stereotype.Service;

@Service
public class ResultServiceImpl implements ResultService {
    @Override
    public Boolean login(UserDto userDto) {
        if ("gaoxiaoqi".equals(userDto.getUsername())){
            return true;
        }
        return false;
    }
}
